home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / os2 / mr2i099t.zip / MSGUTIL.CCC < prev    next >
Text File  |  1996-03-04  |  901b  |  40 lines

  1. /*
  2.     MR/2 ICE - MSGUTIL.CMD
  3.  
  4.     Copyright (c) 1996, Nick Knight
  5.     All Rights Reserved.
  6.  
  7.     Author:     Nick Knight
  8.     Created:    03/03/96
  9.     Usage:        msgutil subcommand MessageFile
  10.     Purpose:    msgutil.cmd allows for special processing of message
  11.                 files.    It is called from within MR/2 ICE, passed a
  12.                 subcommand based on the Fkey used to invoke it (F1 == 1,
  13.                 F12 = 12) and the current message file name.
  14.     US Mail:    Nick Knight, PO Box 22366, Beachwood, Ohio 44122
  15.     Fidonet:    1:157/2 or 1:/157/200
  16.     Internet:    nick@secant.com
  17.     Compuserve: 76066,1240
  18.     BBS:        Private messages on Nerd's Nook (216) 356-1772 or 1872
  19. */
  20.  
  21. subcommand = 0
  22.  
  23. '@echo off'
  24. parse arg subcommand msg_filename
  25.  
  26. if (subcommand == 1) then do
  27.     'cd attached'
  28.     'munpack '||msg_filename    
  29.     'xbin '||msg_filename    
  30.     'cd ..'
  31. end
  32. else if (subcommand == 2) then do
  33.     'e '||msg_filename    
  34. end
  35.  
  36. 'exit'
  37.  
  38. return 0            
  39.  
  40.